import Vue from "../node_modules/vue/dist/vue.js";
import VueRouter from "../node_modules/vue-router/dist/vue-router.js";
import loginForm from "./js/loginForm.js";
import registerForm from "./js/registerForm.js";
import "./css/main.css";

Vue.use(VueRouter);

const router = new VueRouter({
    routes: [
        {
            path: "/login",
            component: loginForm
        },
        {
            path: "/register",
            component: registerForm
        }
    ]
});
const vue = new Vue({
        el: "#app",
        components: {
            loginForm,
            registerForm
        },
        router
    })